#!/bin/sh

set -e

. ./conf.sh
. ./util.sh

umask 022

#===============================================================================
#x11 client/wm stack
. "$builders_dir_root/libXext/builder.sh"
. "$builders_dir_root/libXrender/builder.sh"
. "$builders_dir_root/libXrandr/builder.sh"
. "$builders_dir_root/libXrandr/builder.sh"
. "$builders_dir_root/libXinerama/builder.sh"
. "$builders_dir_root/libXfixes/builder.sh"
. "$builders_dir_root/libXcursor/builder.sh"
. "$builders_dir_root/fontconfig/builder.sh"
. "$builders_dir_root/libXft/builder.sh"
. "$builders_dir_root/libXi/builder.sh"
. "$builders_dir_root/libXcomposite/builder.sh"
. "$builders_dir_root/libXdamage/builder.sh"
. "$builders_dir_root/libXtst/builder.sh"
. "$builders_dir_root/libICE/builder.sh"
. "$builders_dir_root/libSM/builder.sh"
. "$builders_dir_root/libXt/builder.sh"
. "$builders_dir_root/libXScrnSaver/builder.sh"
#===============================================================================

#===============================================================================
#fonts here
. "$builders_dir_root/dejavu-fonts-ttf/builder.sh"
#many fonts are zipped, then build unzip here
. "$builders_dir_root/unzip/builder.sh"
#===============================================================================

#===============================================================================
#dbus
. "$builders_dir_root/dbus/builder.sh"
#===============================================================================

#===============================================================================
#x11 window manager
#with wayland around the corner, hard to get motivation to lighten lboxwm
#removal of glib,libxml2 (for expat), basic x11 through xcb...
. "$builders_dir_root/libffi/builder.sh"
#-------------------------------------------------------------------------------
#that one, is one of the most disgusting package out there, period.
. "$builders_dir_root/glib/builder.sh"
#-------------------------------------------------------------------------------
. "$builders_dir_root/libxml2/builder.sh"
. "$builders_dir_root/shared-mime-info/builder.sh"
. "$builders_dir_root/lboxwm/builder.sh"
#===============================================================================

#===============================================================================
#the GTK+ stack
. "$builders_dir_root/atk/builder.sh"
. "$builders_dir_root/cairo/builder.sh"
. "$builders_dir_root/charfbuzz/builder.sh"
. "$builders_dir_root/pango/builder.sh"
. "$builders_dir_root/jpeg/builder.sh"
. "$builders_dir_root/gdk-pixbuf/builder.sh"
. "$builders_dir_root/at-spi2-core/builder.sh"
. "$builders_dir_root/at-spi2-atk/builder.sh"
#-------------------------------------------------------------------------------
#That one is *amazing* of crapiness, nearly chocked myself to death how bad
#this pkg is.
. "$builders_dir_root/libepoxy/builder.sh"
#-------------------------------------------------------------------------------
. "$builders_dir_root/gtk+/builder.sh"
#===============================================================================

#===============================================================================
#terminal stuff
#we don't use vte, but in case we need to be ready for a need terminal
. "$builders_dir_root/vte/builder.sh"
. "$builders_dir_root/fribidi/builder.sh"
. "$builders_dir_root/mlterm/builder.sh"
#===============================================================================

#===============================================================================
#misc
. "$builders_dir_root/imlib2/builder.sh"
. "$builders_dir_root/feh/builder.sh"
#===============================================================================

#===============================================================================
#www
. "$builders_dir_root/lynx/builder.sh"
#===============================================================================

#===============================================================================
#email
. "$builders_dir_root/msmtp/builder.sh"
. "$builders_dir_root/procmail/builder.sh"
. "$builders_dir_root/fetchmail/builder.sh"
. "$builders_dir_root/mutt/builder.sh"
#===============================================================================

#===============================================================================
. "$builders_dir_root/yasm/builder.sh"
. "$builders_dir_root/libass/builder.sh"
. "$builders_dir_root/libvpx/builder.sh"
. "$builders_dir_root/ffmpeg/builder.sh"
. "$builders_dir_root/mplayer/builder.sh"
#-------------------------------------------------------------------------------
#this openssl is specific to transmission
. "$builders_dir_root/transmission-openssl/builder.sh"
. "$builders_dir_root/libevent/builder.sh"
. "$builders_dir_root/transmission/builder.sh"
#-------------------------------------------------------------------------------
#===============================================================================

#===============================================================================
#netsurf stack?
#===============================================================================
